package com.multi.thread.chapter03.demo15;

public class Test extends Thread {
	
	@Override
	public void run() {
		try {
			int secondValue = (int) (Math.random() * 10000);
			System.out.println(secondValue);
			Thread.sleep(secondValue);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
	
	public static void main(String[] args) {
		Test test = new Test();
		test.start();
		System.out.println("我想当test对象执行完后再执行!");
	}

}
